home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cpbcon.z / cpbcon
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPBBBBCCCCOOOONNNN((((3333SSSS))))                                                          CCCCPPPPBBBBCCCCOOOONNNN((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CPBCON - estimate the reciprocal of the condition number (in the 1-norm)
  10.      of a complex Hermitian positive definite band matrix using the Cholesky
  11.      factorization A = U**H*U or A = L*L**H computed by CPBTRF
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CPBCON( UPLO, N, KD, AB, LDAB, ANORM, RCOND, WORK, RWORK, INFO
  15.                         )
  16.  
  17.          CHARACTER      UPLO
  18.  
  19.          INTEGER        INFO, KD, LDAB, N
  20.  
  21.          REAL           ANORM, RCOND
  22.  
  23.          REAL           RWORK( * )
  24.  
  25.          COMPLEX        AB( LDAB, * ), WORK( * )
  26.  
  27. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  28.      These routines are part of the SCSL Scientific Library and can be loaded
  29.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  30.      directs the linker to use the multi-processor version of the library.
  31.  
  32.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  33.      4 bytes (32 bits). Another version of SCSL is available in which integers
  34.      are 8 bytes (64 bits).  This version allows the user access to larger
  35.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  36.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  37.      only one of the two versions; 4-byte integer and 8-byte integer library
  38.      calls cannot be mixed.
  39.  
  40. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  41.      CPBCON estimates the reciprocal of the condition number (in the 1-norm)
  42.      of a complex Hermitian positive definite band matrix using the Cholesky
  43.      factorization A = U**H*U or A = L*L**H computed by CPBTRF. An estimate is
  44.      obtained for norm(inv(A)), and the reciprocal of the condition number is
  45.      computed as RCOND = 1 / (ANORM * norm(inv(A))).
  46.  
  47.  
  48. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  49.      UPLO    (input) CHARACTER*1
  50.              = 'U':  Upper triangular factor stored in AB;
  51.              = 'L':  Lower triangular factor stored in AB.
  52.  
  53.      N       (input) INTEGER
  54.              The order of the matrix A.  N >= 0.
  55.  
  56.      KD      (input) INTEGER
  57.              The number of superdiagonals of the matrix A if UPLO = 'U', or
  58.              the number of sub-diagonals if UPLO = 'L'.  KD >= 0.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCPPPPBBBBCCCCOOOONNNN((((3333SSSS))))                                                          CCCCPPPPBBBBCCCCOOOONNNN((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      AB      (input) COMPLEX array, dimension (LDAB,N)
  75.              The triangular factor U or L from the Cholesky factorization A =
  76.              U**H*U or A = L*L**H of the band matrix A, stored in the first
  77.              KD+1 rows of the array.  The j-th column of U or L is stored in
  78.              the j-th column of the array AB as follows:  if UPLO ='U',
  79.              AB(kd+1+i-j,j) = U(i,j) for max(1,j-kd)<=i<=j; if UPLO ='L',
  80.              AB(1+i-j,j)    = L(i,j) for j<=i<=min(n,j+kd).
  81.  
  82.      LDAB    (input) INTEGER
  83.              The leading dimension of the array AB.  LDAB >= KD+1.
  84.  
  85.      ANORM   (input) REAL
  86.              The 1-norm (or infinity-norm) of the Hermitian band matrix A.
  87.  
  88.      RCOND   (output) REAL
  89.              The reciprocal of the condition number of the matrix A, computed
  90.              as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the
  91.              1-norm of inv(A) computed in this routine.
  92.  
  93.      WORK    (workspace) COMPLEX array, dimension (2*N)
  94.  
  95.      RWORK   (workspace) REAL array, dimension (N)
  96.  
  97.      INFO    (output) INTEGER
  98.              = 0:  successful exit
  99.              < 0:  if INFO = -i, the i-th argument had an illegal value
  100.  
  101. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  102.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  103.  
  104.      This man page is available only online.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.